package cn.onlineclass.dao;

import cn.onlineclass.entity.ORatation;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ORatationMapper {

    int deleteByPrimaryKey(Long id);

    int insertSelective(ORatation record);

    int updateByPrimaryKey(ORatation record);

    public List<ORatation> search(@Param("pageNo") int pageNo, @Param("pageSize") int pageSize,
                               @Param("inuse") boolean inuse);
    public int searchTotal(@Param("inuse") boolean inuse);
    //    String name, boolean inuse, String description, long ratationid
    public int add(ORatation ORatation);
    public int update(ORatation ORatation);
//    public int del(ORatation ORatation);
    public ORatation get(long id);
}